package com.cindata

class Community
{
    String address
    Province province
    City city
    District district
    Long communityId
    String communityName
    String propertyManagementCompany
    // 物业公司
    Integer buildYear
    //建筑年份
    BigDecimal plotratio
    //容积率
    BigDecimal coveringArea
    // 占地面积
    BigDecimal buildArea
    // 建筑面积
    Integer totalBuildingCount
    // 总楼栋数
    Integer totalHouseHoldCount
    // 总户数
    String pmfee
    //物业费
    String buildingstructureName
    // 建筑结构
    String residentialType
    // 建筑类型
    String developer
    // 开发商
    String buildingType
    // 建筑形式
    Double arcgisX
    Double arcgisY

    BigDecimal communityScore
    //小区评分
    BigDecimal communityCoverage
    // 小区覆盖率
    BigDecimal concentrationRatio
    // 小区押品集中度

    static constraints =
        {
            address nullable: true, blank: true
            province nullable: true, blank: true
            city nullable: true, blank: true
            district nullable: true, blank: true
            communityId nullable: true, blank: true
            communityName nullable: true, blank: true
            propertyManagementCompany nullable: true, blank: true
            buildYear nullable: true, blank: true
            plotratio nullable: true, blank: true
            coveringArea nullable: true, blank: true
            buildArea nullable: true, blank: true
            totalBuildingCount nullable: true, blank: true
            totalHouseHoldCount nullable: true, blank: true
            pmfee nullable: true, blank: true
            buildingstructureName nullable: true, blank: true
            residentialType nullable: true, blank: true
            developer nullable: true, blank: true
            buildingType nullable: true, blank: true
            arcgisX nullable: true, blank: true
            arcgisY nullable: true, blank: true
            communityScore nullable: true, blank: true
            communityCoverage nullable: true, blank: true
            concentrationRatio nullable: true, blank: true
        }
}
